exports.init=function(app){
    return function (req,res,next){
        req.res = res;
        res.req = req;
        req.next = next;
        req.__proto__=app.request;
        res.__proto__=app.response;
        next();
    }
}